<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>    
<%@ include file="/include/jsp/baseContent.jsp"%>   
<script type="text/javascript">
<!--//

function moveViewPage(tname){
	
	$("#tname").val(tname);
	frmObj = document.frm; 	
	frmObj.submit();	
}

//-->
</script>
<div style="width:100%; border:1px dashed red; height:500px; margin:0 auto 0 auto; padding-left:20px;">
	<h1>table info list page</h1>
	<div id="viewForm">
	<form id="frm" name="frm" method="post" action="/edu/adminTableView.action" >
	<table border="1">
		<tr style="background-color:#a16;">
			<td>Table Name</td>
			<td>Type</td>
		</tr>
	<s:iterator value="list">
		<tr>
			<td> <a href="javascript:moveViewPage('<s:property value="tname"/>');"><s:property value="tname"/></a> </td>
			<td> <s:property value="tabtype"/> </td>			
		</tr>
	</s:iterator>
	</table>
	<input type="hidden" name="tname" id="tname">
	</form>
	</div>
</div> 